//
//  YGHomeTopItemManager.m
//  luGongPro
//
//  Created by 王庆学 on 2017/8/11.
//  Copyright © 2017年 王庆学. All rights reserved.
//

#import "YGHomeTopItemManager.h"
#import "YGHomeTopItemModel.h"

@implementation YGHomeTopItemManager
+ (YGHomeTopItemModel *)creatModelWithType:(YGHomeTopItemType)type{
    switch (type) {
            case YGHomeTopItemTradeCenter:
            return [YGHomeTradeModel new];
            break;
            case YGHomeTopItemTypeExpertLiving:
            return [YGHomeExpertLivingModel new];
            break;
            case YGHomeTopItemTypeQuantitativeIndicators:
            return [YGHomeQuantitativeIndicatorsModel new];
            break;
            case YGHomeTopItemTypeSignUpNowModel:
            return [YGHomeSignUpNowModel new];
            break;
            case YGHomeTopItemTypePlatformIntroduction:
            return [YGHomePlatformIntroductionModel new];
            break;
            case YGHomeTopItemTypeMarketCenter:
            return [YGHomeMarketCenterModel new];
            break;
            case YGHomeTopItemTypeGuidance:
            return [YGHomeGuidanceModel new];
            break;
            case YGHomeTopItemFamousInstructor:
            return [YGHomeFamousInstructorModel new];
            break;
            case YGHomeTopItemAgencyTransaction:
            return [YGHomeAgencyTransactionModel new];
            break;
            case YGHomeTopItemFinanceCalendar:
            return [YGHomeFinanceCalendarModel new];
            break;
            case YGHomeTopItemTuoGuan:
            return [YGHomeTuoGuanModel new];
            break;
            case YGHomeTopItemFashou:
            return [YGHomeSaleListModel new];
            break;
        default:
            return nil;
            break;
    }
}


@end
